#ifndef TASK_H
#define TASK_H

#include <QObject>
#include<unistd.h>

class task : public QObject
{
    Q_OBJECT
public:
    explicit task(QObject *parent = nullptr);
    void stopWork();
public slots:
    void work();
signals:
    void upUi();
private:
    bool canDo=1;
};

#endif // TASK_H
